//
//  CTPWikiProxyFetcher.h
//  citipad
//
//  Created by Chih Yuan Liu on 2/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTPBaseUrlFetcher.h"

@class CTPWikiProxyFetcher;

@protocol CTPWikiProxyFetcherDelegate
- (void)wikiProxyFetcherBegin:(CTPWikiProxyFetcher*)sender;
- (void)wikiProxyFetcherEnd:(CTPWikiProxyFetcher*)sender;
- (void)wikiProxyFetcherSucceeded:(CTPWikiProxyFetcher*)sender data:(NSArray*)data;
- (void)wikiProxyFetcherFailed:(CTPWikiProxyFetcher*)sender;
@end

@interface CTPWikiProxyFetcher : CTPBaseUrlFetcher {
	NSObject<CTPWikiProxyFetcherDelegate> *delegate;
}

-(void)getDataFromProxy:(NSString*) title;

@property (readwrite, retain) NSObject<CTPWikiProxyFetcherDelegate> *delegate;

@end
